package com.wangdao.wechatmall.bean.vo.wx;

import com.wangdao.wechatmall.bean.pojo.Cart;

import java.util.List;

/**
 * @ClassName: WXCartIndexVO
 * @Description ${DESCRIPTION}
 * @Author Xinhao Yi
 * @Date 2021/7/11  21:33
 */
public class WXCartIndexVO {

    /**
     * cartTotal : {"goodsCount":7,"checkedGoodsCount":7,"goodsAmount":591,"checkedGoodsAmount":591}
     * cartList : [{"id":89,"userId":1,"goodsId":1181054,"goodsSn":"11","goodsName":"22","productId":457,"price":11,"number":2,"specifications":["标准","撒"],"checked":true,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/vgvffi3250gkajhq29j4.gif","addTime":"2021-07-11 19:37:01","updateTime":"2021-07-11 20:34:34","deleted":false},{"id":91,"userId":1,"goodsId":1181048,"goodsSn":"222","goodsName":"测试手机","productId":399,"price":200,"number":2,"specifications":["标准","红色"],"checked":true,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/dy5z5f90yo6m9oul2tz8.png","addTime":"2021-07-11 20:15:20","updateTime":"2021-07-11 20:28:49","deleted":false},{"id":92,"userId":1,"goodsId":1039051,"goodsSn":"1039051","goodsName":"多功能午睡枕","productId":54,"price":79,"number":2,"specifications":["标准"],"checked":true,"picUrl":"http://yanxuan.nosdn.127.net/c8ca0600fa7ba11ca8be6a3173dd38c9.png","addTime":"2021-07-11 20:23:16","updateTime":"2021-07-11 20:28:50","deleted":false},{"id":93,"userId":1,"goodsId":1181013,"goodsSn":"55","goodsName":"猫","productId":275,"price":11,"number":1,"specifications":["标准"],"checked":true,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/1dwn7di7ox33mq28af07.jpeg","addTime":"2021-07-11 20:40:13","updateTime":"2021-07-11 20:40:13","deleted":false}]
     */

    private WXCartTotalBeanVO cartTotal;
    private List<Cart> cartList;

    public WXCartIndexVO() {
    }

    public WXCartIndexVO(WXCartTotalBeanVO cartTotal, List<Cart> cartList) {
        this.cartTotal = cartTotal;
        this.cartList = cartList;
    }

    public WXCartTotalBeanVO getCartTotal() {
        return cartTotal;
    }

    public void setCartTotal(WXCartTotalBeanVO cartTotal) {
        this.cartTotal = cartTotal;
    }

    public List<Cart> getCartList() {
        return cartList;
    }

    public void setCartList(List<Cart> cartList) {
        this.cartList = cartList;
    }
}
